﻿using System;
using System.Web;
using System.Web.Services;
using System.Web.Services.Protocols;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations.Schema;

namespace SistemaAdministracion.Models.BaseClass
{
    [Table("centrocosto",Schema="empresa")]
    public class CentroCosto
    {
        [Column("idempresa")]
        public int IdEmpresa { get; set; }
        [Column("idcentrocosto")]
        public int IdCentroCosto { get; set; }
        [Column("nombre")]
        public string Nombre { get; set; }
        [Column("vigencia")]
        public int Vigencia { get; set; }

        public virtual Empresa Empresa { get; set; }
    }
}
